$def with (readings)
<table>
<tr>
  <th>
    Date/Time
  </th>
  <th>
    Reading
  </th>
</tr>
$for rec in readings:
  <tr>
    <td>
      $rec['time']
    </td>
    <td>
      $rec['reading']
    </td>
  </tr>
</table>



